@m-height: 10.75rem;
@pc-height: 30.3125rem;
@cl-color: #175292;
@bg-size: 1.875rem;

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

ul {
	li {
		list-style: none;
	}
}

a {
	text-decoration: none;
}

#header {
	position: sticky;
	top: 0;
	z-index: 9;
}

#container {
	min-height: 100vh;
	background-color: #fff;


	.banner {
		margin-bottom: 1.875rem;
		display: flex;
		justify-content: center;
		/* 水平居中 */
		align-items: center;
		/* 垂直居中 */
		position: relative;

		/* 如果需要的话 */
		.image {
			width: 100%;
			height: @pc-height;
			overflow: hidden;

			// object-fit: contain;
		}

		@media (max-width: 48rem) {
			.image {
				transition: .3s;
				width: 100%;
				// height: @m-height;
				overflow: hidden;
			}
		}

		.img-word {
			position: absolute;
			display: flex;
			width: 50%;
			justify-content: space-evenly;
			align-items: center;

			.small_img {
				width: 15.75rem;
				height: 15.75rem;
				margin-right: 30px;
			}

			@media (max-width:900px) {
				.small_img {
					width: 10.75rem;
					height: 10.75rem;
					transition: .3s;
					margin-right: 30px;
				}
			}

			.right_img_word {
				color: #fff;

				.right_top_title {
					font-size: 1.25rem;
					font-weight: bold;
					margin-bottom: .9375rem;
				}

				.right_center_content {
					font-size: .875rem;
					margin-bottom: 1.875rem;

					p {
						margin-bottom: .3125rem;
					}
				}

				.right_down_btn {
					display: inline-block;
					padding: 0.3125rem 1.25rem;
					font-size: 0.875rem;
					text-align: center;
					background-color: #fff;
					color: #175292;
					border-radius: 1.25rem;
					border: none;
					cursor: pointer;
					font-weight: bold;
				}

				@media (max-width:800px) {
					.right_top_title {
						font-size: .825rem;
					}

					.right_center_content {
						font-size: .575rem;
					}

					.right_down_btn {
						font-size: .575rem;
					}
				}
			}
		}

		@media (max-width: 31.25rem) {
			.image {
				transition: .3s;
				width: 100%;
				height: @m-height;
				overflow: hidden;
			}

			.img-word {
				display: none;
			}
		}
	}

	@media (max-width:660px) {
		.banner {
			margin-bottom: 0;
		}
	}

	/* 主容器 */
	.main-container {
		display: flex;
		min-height: 100vh;
		max-width: 1200px;
		margin: 0 auto;
	}

	/* 响应式断点 */
	@media (max-width: 768px) {

		.aside-bar-container,
		.type-filter-container {
			display: none;
		}

		.filter-bar-container {
			display: flex !important;
		}
		.search-input{
			display: flex;
			.el-input__inner {
				width: 140px;
			}
		}
	}

	@media (min-width: 769px) {
		.filter-bar-container {
			display: none !important;
		}

	}

	/* 侧边栏样式 */
	.aside-bar-container {
		padding: 32px 16px 32px 8px;
		border-right: 1px solid #115899;
		box-sizing: border-box;
		z-index: 1;
		background: #fff;

		.search-input {
			margin-bottom: 30px;
			height: 40px;

			.el-input__inner {
				height: 100%;
				border: 1px solid #eee;
				border-radius: 10px;
				padding-left: 10px;
			}
		}
	}

	.aside-bar-header {
		height: 16px;
		line-height: 16px;
		font-size: 16px;
		font-weight: bold;
		color: #115899;
		margin-bottom: 20px;
	}

	.search-input .icon {
		cursor: pointer;
	}

	.item {
		margin-bottom: 15px;
		border-bottom: 1px solid #ccc;
	}

	.title {
		height: 16px;
		line-height: 16px;
		font-size: 16px;
		font-weight: bold;
		color: #115899;
		margin-bottom: 14px;
		cursor: pointer;
	}

	/* 产品列表 */
	.product-list {
		flex: 1;
	}

	.products-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		margin-bottom: 30px;
	}

	.product-card {
		background: white;
		border-radius: 8px;
		overflow: hidden;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
		transition: transform 0.3s;
	}

	.product-card:hover {
		transform: translateY(-5px);
	}

	.product-image {
		width: 100%;
		height: 200px;
		object-fit: contain;
	}

	.product-info {
		padding: 15px;
	}

	.product-title {
		font-size: 16px;
		font-weight: bold;
		margin-bottom: 5px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.product-category {
		font-size: 14px;
		color: #666;
	}

	/* 分页 */
	.pagination {
		display: flex;
		justify-content: center;
		margin-top: 30px;
	}

	.page-btn {
		padding: 8px 12px;
		margin: 0 5px;
		border: 1px solid #dcdfe6;
		background-color: white;
		cursor: pointer;
		border-radius: 4px;
	}

	.page-btn.active {
		background-color: #409eff;
		color: white;
		border-color: #409eff;
	}

	/* 空状态 */
	.empty-state {
		text-align: center;
		padding: 50px 0;
		color: #999;
	}

	/* 加载状态 */
	.loading-overlay {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(255, 255, 255, 0.7);
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 10;
	}

	/* 响应式布局 */
	@media (max-width: 992px) {
		.products-grid {
			grid-template-columns: repeat(2, 1fr);
		}
	}

	.item {
		.list {
			height: 12px;
			line-height: 12px;
			color: #606266;
			font-size: 12px;
			font-weight: 300;
			cursor: pointer;
			list-style: none;
			margin-bottom: 10px;
		}
	}


	/* 移动端筛选栏 */
	.filter-bar-container {
		background-color: #fff;
		padding: 10px 5px;
		box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.075);
		display: flex;
		align-items: center;
		justify-content: space-between;
		z-index: 100;
		margin-bottom: 20px;
	}

	.filter-bar-container .list {
		position: relative;
		height: 35px;
		line-height: 35px;
		font-size: 14px;
		font-weight: 300;
		color: #606266;
		padding-right: 16px;
		cursor: pointer;
	}

	.filter-bar-container .list::before {
		position: absolute;
		width: 0;
		height: 0;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
		border-style: solid;
		border-width: 6px 5.5px 0 5.5px;
		border-color: #858585 transparent transparent transparent;
		content: '';
	}


	/* 抽屉样式 */
	.el-drawer {
		border-radius: 10px 10px 0 0;
		overflow-y: auto;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: 90%;
		background: #fff;
		padding: 20px;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
		transform: translateY(100%);
		transition: transform 0.3s ease;
		z-index: 1000;
	}

	.el-drawer.active {
		transform: translateY(0);
	}

	.el-drawer__header {
		margin-bottom: 20px;
		padding-bottom: 10px;
		border-bottom: 1px solid #e4e7ed;
	}

	.drawer-title {
		font-size: 16px;
		font-weight: bold;
		color: #303133;
		margin: 0;
	}

	.category-drawer .item {
		padding: 15px 0;
	}

	.category-drawer .title {
		height: 16px;
		line-height: 16px;
		font-size: 16px;
		font-weight: bold;
		color: #115899;
		margin-bottom: 13px;
		cursor: pointer;
	}

	.category-drawer .column {
		font-size: 12px;
		line-height: 12px;
		font-weight: 300;
		color: #606266;
		margin-bottom: 12px;
		cursor: pointer;
		list-style: none;
	}

	.type-drawer .item {
		margin-bottom: 20px;
		padding: 15px 0;
	}

	.type-drawer .title {
		height: 16px;
		font-size: 16px;
		line-height: 16px;
		font-weight: bold;
		color: #303133;
		margin-bottom: 9px;
	}

	.type-drawer .column {
		background-color: #e4e7ed;
		border-radius: 99em;
		margin: 0 8px 8px 0;
		padding: 5px 15px;
		display: inline-block;
		cursor: pointer;
	}

	.type-drawer button {
		flex: 1;
		height: 40px;
		border-radius: 20px;
		border: none;
		font-size: 14px;
		cursor: pointer;
	}

	.button-group {
		display: flex;
		width: 90%;
		margin: 0 auto;
		// gap: 15px;
	}

	// .button-group .button {
	// 	flex: 1;
	// 	height: 40px;
	// 	border-radius: 20px;
	// 	border: none;
	// 	font-size: 14px;
	// 	cursor: pointer;
	// }

	.button-group .button-primary {
		background-color: #469ffc;
		color: white;
	}

	.button-group .button-blue {
		background-color: #3a5996;
		color: white;
	}

	/* 类型筛选样式 */
	.type-filter-container {
		padding: 0 20px;
		background: #fff;
		border-radius: 8px;
		// box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
		margin-bottom: 20px;

		.button-primary {
			border-top-right-radius: 0 !important;
			border-bottom-right-radius: 0 !important;
		}

		.button-danger {
			border-top-left-radius: 0 !important;
			border-bottom-left-radius: 0 !important;
		}
	}

	.type-filter-container .item {
		/* position: relative;
		min-height: 23px; */
		display: flex;
		/* padding: 20px 0 20px 89px; */
		border-bottom: 1px dashed #e4e7ed;
	}

	.type-filter-container .label {
		/* position: absolute;
		height: 23px; */
		/* line-height: 23px; */
		font-size: 12px;
		width: 60px;
		text-transform: uppercase;
		color: #606266;
		margin-right: 20px;
		/* top: 20px;
		left: 0; */
		z-index: 1;
	}

	.type-filter-container .checkbox-group {
		display: flex;
		flex: 1;
		flex-wrap: wrap;
		// gap: 10px;
		align-items: center;
	}

	.type-filter-container .checkbox-item {
		display: flex;
		align-items: center;
		margin-right: 15px;
		margin-bottom: 10px;
	}

	.type-filter-container .checkbox-input {
		margin-right: 6px;
		width: 13px;
		height: 13px;
		cursor: pointer;
	}


	.type-filter-container .checkbox-label {
		font-size: 14px;
		font-weight: 500;
		cursor: pointer;
		color: #606266;
		user-select: none;
	}

	.type-filter-container .button-group {
		/* padding: 30px 0; */
		display: flex;
		justify-content: center;
	}

	.type-filter-container .button {
		width: 120px;
		height: 30px;
		border-radius: 20px;
		border: none;
		font-size: 14px;
		cursor: pointer;
		// margin: 0 10px;
		transition: all 0.3s;
	}

	.type-filter-container .button-primary {
		background-color: #469ffc;
		color: white;
	}

	.type-filter-container .button-danger {
		background-color: #f56c6c;
		color: white;
	}

	/* 内容区域 */
	.content-area {
		flex: 1;
		padding: 20px;
	}

	/* 遮罩层 */
	.overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 999;
		display: none;
	}

}

@media (max-width:68.75rem) {
	footer {
		transition: .3s;
		display: none;
	}
}